package com.xx.pmis.services;

import java.util.List;

import com.xx.pmis.model.Card;

public interface CardService {
	public void saveOrUpdateCard(Card card) throws Exception;
	public void saveCard(Card card) throws Exception;
	public void deleteCard(Card card) throws Exception;
	// 根据卡片ID查询该卡片
	public Card getCardByCardID(String cardID) throws Exception;    
	// 查询所有卡片
	public List<Card> getAllCard() throws Exception;
	// 查询所有卡片，分页显示
	public List<Card> getAllCardByPage(int currentPage, int lineSize) throws Exception;
	// 卡片数
	public int getCountOfCard() throws Exception;


}
